package com.zlcx.tz.live.client;

import com.zlcx.tz.live.common.config.OauthFeignConfig;
import com.zlcx.tz.live.vo.PushMessageParamVO;
import com.zlcx.tz.live.vo.ResultVO;
import feign.Headers;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * <p>通过sock推送</p>
 * <PRE>
 * <BR>    修改记录
 * <BR>-----------------------------------------------
 * <BR>    修改日期         修改人          修改内容
 * </PRE>
 *
 * @author zl
 * @version 1.0
 * @date Created in 2019/4/18 11:07
 * @copyright: Copyright (c) founders
 */
@FeignClient(name = "desk-mate-push", configuration = OauthFeignConfig.class)
public interface PushMessageClient {

    @PostMapping(value = "/push")
    ResultVO pushMsg(@RequestBody PushMessageParamVO pushDTO);

}
